Now that our mazes are getting longer, let's have the turtle leave a trail so it can find its way out again!

  • Go to and drag out Pen Down.
  • Have the turtle Move Forward, then Turn Left, and Move Forward again.
  • Change the numbers in the .move_forward() commands so that the turtle reaches the goal.

Use trial and error to determine how far the turtle needs to move forward! Tip: each block is 50 pixels wide.

To navigate the page using the TAB key, first press ESC to exit the code editor.

  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)